
<!--
	user list !
-->
<h3>{{rootColumnName}}
    <small>{{rootColumnPrompt}}</small>
</h3>
<div  ng-controller="reportCtrl" class="panel panel-default">
    <div class="panel-heading">
        <form class="form-inline">
            <div class="form-group">
                <label for="">{{reasonSelect}} : </label>
                <select class="custom-css form-control"  ng-model="reasonSelectValue" ng-change="dataChange()" ng-options="reasonSelectValue._value_ for reasonSelectValue in reasonType" >
                </select>
            </div>
            <div class="form-group">
                <label for="">{{typeSelect}} : </label>
                <select class="custom-css form-control"  ng-model="typeSelectValue" ng-change="dataChange()" ng-options="typeSelectValue._value_ for typeSelectValue in type" >
                </select>
            </div>
            <div class="form-group">
                <label for="">{{statusSelect}} : </label>
                <select class="custom-css form-control"  ng-model="statusSelectValue" ng-change="dataChange()" ng-options="statusSelectValue._value_ for statusSelectValue in status" >
                </select>
            </div>
            <div class="form-group">
                <label for=""></label>
                <input type="text" ng-keyup="dataEvent($event)" ng-model="searchKey" class="form-control"  placeholder="{{searchplaceholder}}">
            </div>
            <div class="form-group">
                <label for=""></label>
                <button class="btn btn-primary" ng-click="dataChange()">搜索</button>
            </div>
        </form>
    </div>
    <div class="panel-body " ng-class="loading?'whirl standard':'' " style="border-top: 1px solid #CFDBE2;">
        <table class="table table-striped table-condensed">
            <thead>
            <tr>
                <th>被举报用户</th>
                <th>手机号</th>
                <th>举报类型</th>
                <th>举报原因</th>
                <th>举报时间</th>
                <th>举报用户</th>
                <th>手机号</th>
                <th>处理状态</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <!-- repeat begin -->
            <tr ng-repeat="reportItem in userReportList ">
                <td>{{reportItem.beUser.name | null_value_filter}}</td>
                <td>{{reportItem.beUser.phoneNo}}</td>
                <td>{{reportItem.type | boolean_fieldStatus}}</td>
                <td title="{{reportItem.content}}">{{reportItem.content | limitToNum :10}}</td>
                <td>{{reportItem.createTime}}</td>
                <td>{{reportItem.user.name | null_value_filter}}</td>
                <td>{{reportItem.user.phoneNo}}</td>
                <td>{{reportItem.stauts | boolean_handleStatus}}</td>
                <td>
                    <a tooltip="查看处理" tooltip-trigger="mouseenter" class="btn btn-xs btn-primary" ui-sref="cms.reportDetail({ userReportId : reportItem.userReportId})"><i class="fa fa-eye"></i></a>
                </td>
            </tr>
            <!-- repeat end -->
            </tbody>
        </table>
        <p style="display: inline-block; margin:21px 0;height: 30px;line-height: 30px;"> 显示 <strong>{{turnPage.totalItems}}</strong> 条中的 <strong>{{turnPage.itemsPerPage*(turnPage.currentPage-1)+1}}-{{ToNum}}</strong> 条</p>
        <pagination class="pull-right" first-text="{{turnPage.firstText}}" previous-text="{{turnPage.previousText}}" next-text="{{turnPage.nextText}}" last-text="{{turnPage.lastText}}" total-items="turnPage.totalItems" ng-model="turnPage.currentPage" max-size="turnPage.maxSize"
                    num-pages="numPages" boundary-links="true" ng-change="dataChange()" class="pagination-sm">
        </pagination>
    </div>
</div>